<!DOCTYPE html>
<html>
  <head>    
      <title>变更记录</title>
      <% include layout/lib.ejs %>
      <link rel="stylesheet" type="text/css" href="/css/changeRecordIndex.css" />
  </head>
  <body>
    <div class="pageTitleBox">
      <%- memberName %> / 变更记录
    </div>
    <div class="changeRecordIndexBox">
      <% for(var i=0;i<changeData.length;i++){ %>
      <div class="changeRecordItem">
        <% if(changeData[i].ir_type == 0){ %>
        <div class="changeRecordAction add">+<%- changeData[i].ir_number %></div>
        <div class="changeRecordContent"><i><%- changeData[i].ir_equipment_name %></i></div>
        <% }else{ %>
        <div class="changeRecordAction remove">-<%- changeData[i].ir_number %></div>
        <div class="changeRecordContent"><span>[ <%- changeData[i].ir_equipment_name %> ]</span></div>
        <% } %>
        <div class="changeRecordTime">时间：<%- common.dateFormat("yyyy-MM-dd",changeData[i].ir_create_time) %></div>
      </div>
      <% } %>
    </div>
  </body>
</html>